package com.ruoyi.service;

import com.ruoyi.dto.ResponseDTO;

public interface GoodService {
    ResponseDTO getAllType();

    ResponseDTO getGoodsByType(String id,String storeId);

    ResponseDTO addGood(String storeId,String name, String price, String remark, String typeId, String image);

    ResponseDTO editGood(String storeId,String id,String name, String price, String remark, String typeId, String image);

    ResponseDTO deleteGood(String storeId,String id);

    ResponseDTO addClass(String name, String image);

    ResponseDTO editClass(String id, String name, String image);

    ResponseDTO deleteClass(String id);

    ResponseDTO searchGood(String storeId,String name);
}
